package com.xhl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xhl.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xhlMr
 * @since 2020-07-29
 */
@Repository
@Mapper
public interface UserMapper extends BaseMapper<User> {

    User userbyid(@Param("id")Integer id);
    Integer updbyid(User user);
    Integer delbyid(@Param("id")Integer id);
}
